#ifndef BASEPROTOCOLDATA_H
#define BASEPROTOCOLDATA_H

#include <QByteArray>
#include "basefindpacket.h"

class PortStatistics;
class BaseParsePacket;
class BaseSendPacket;
class BaseProtocolData
{
public:
    BaseParsePacket     *m_parser = nullptr;
    BaseSendPacket      *m_sender = nullptr;

    QByteArray          m_txBuffer; // 发送的数据

//    QByteArray          m_rxPacket; // 一个合法的包
    ProtocolPacket      m_rxPacket; // 一个合法的包
};

#endif // BASEPROTOCOLDATA_H
